package com.allprs.common.core.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * (ScenePlot)实体类
 *
 * @author wjf
 * @since 2021-10-13 11:01:55
 */
public class ScenePlot implements Serializable {
    private static final long serialVersionUID = -13124182518712149L;
    /**
     * 主键id
     */
    private Integer plotId;
    /**
     * 场景id
     */
    private Integer sceneId;
    /**
     * 标绘类型1-点|2-线|3-面|4-体|5-符号库
     */
    private Integer plotType;
    /**
     * 标绘名称
     */
    private String plotName;
    /**
     * 标绘属性(组成标绘的所有属性，每种类型的可能不一样)
     */
    private String plotProperty;
    /**
     * 空间属性
     */
    private String matrix;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 创建人ID
     */
    private String createUserId;
    /**
     * 创建人姓名
     */
    private String createUserName;
    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;
    /**
     * 备注
     */
    private String remark;

    private List<Integer> plotIds;

    public Integer getPlotId() {
        return plotId;
    }

    public void setPlotId(Integer plotId) {
        this.plotId = plotId;
    }

    public Integer getSceneId() {
        return sceneId;
    }

    public void setSceneId(Integer sceneId) {
        this.sceneId = sceneId;
    }

    public Integer getPlotType() {
        return plotType;
    }

    public void setPlotType(Integer plotType) {
        this.plotType = plotType;
    }

    public String getPlotName() {
        return plotName;
    }

    public void setPlotName(String plotName) {
        this.plotName = plotName;
    }

    public String getPlotProperty() {
        return plotProperty;
    }

    public void setPlotProperty(String plotProperty) {
        this.plotProperty = plotProperty;
    }

    public String getMatrix() {
        return matrix;
    }

    public void setMatrix(String matrix) {
        this.matrix = matrix;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserName() {
        return createUserName;
    }
    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Size(min = 0, max = 500, message = "描述不能超过500个字符")
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<Integer> getPlotIds() {
        return plotIds;
    }

    public void setPlotIds(List<Integer> plotIds) {
        this.plotIds = plotIds;
    }
}
